<template>
  <div>
    <MyTableVue :data="list">
      <template v-slot="scoped">
        <td>{{ scoped.row.name }}</td>
      </template>
    </MyTableVue>
  </div>
</template>

<script>
import MyTableVue from './MyTable.vue'
export default {
  components: { MyTableVue },
  data() {
    return {
      list: [
        { name: 'tom', age: 13, gender: '男' },
        { name: 'rose', age: 15, gender: '女' },
        { name: 'jack', age: 13, gender: '男' }
      ]
    }
  }
}
</script>

<style>

</style>
